><

Setting up buttons and check boxes



You can set up several types of buttons, radio buttons, and check boxes on your Web page form.

  • The Submit Button, labeled Submit Query, sends data entered in the form to the CGI script for processing.
  • The Reset Button, labeled Reset, clears the current data, resetting the form to its default values.

  • For information on buttons that accept HTML in the label area, see Using universal buttons.

  • The Radio Button lets viewers select one item from a list. To make sure that the selection works properly, create logical groups of complementary radio buttons in the Form Radio Button Inspector.
  • The Check Box lets the viewer select multiple items from a list.

  • To set up a Submit, Reset, or Custom button:

    1 Drag the Submit Button or Reset Button icon from the Forms tab () of the Objects palette to your document window, or double-click the icon in the Objects palette.


    A. Submit Button icon B. Reset Button icon

    2 You can change a submit or reset button in the Form Button Inspector.

    3 For a custom button, set Button to Normal in the Form Button Inspector. Do not use Submit or Reset; these names are reserved.

    4 Click in the button label area in the document window, and type in the button label you want viewers to see. Use the Type or Style menu commands to format the label.

    To set up a Radio Button:

    1 Drag the Radio Button icon from the Forms tab () of the Objects palette to your document window, or double-click the icon in the Objects palette.


    2 Select the icon in the document window, and set the options in the Form Radio Button Inspector.

    3 In the Group text box, type in a new logical group name, or select an existing group name from the pop-up menu.

    4 In the Value text box, type in a value or a descriptive name for the radio button that will identify it within the group. When a viewer clicks the Submit button in the form, this value will be passed to the CGI script.

    5 In the Focus section, select the Selected check box to have the radio button appear selected by default. For more information on setting tabbing chains and access keys, see Setting up tabbing chains and Defining access keys.

    6 If necessary, from the Forms tab of the Objects palette, drag a label icon next to each button, and enter your text. Repeat these steps for each button in the group.

    To set up a check box:

    1 Drag the Check Box icon from the Forms tab () of the Objects palette to your document window, or double-click the icon in the Objects palette.


    2 Select the icon in the document window, and set the options in the Form Check Box Inspector.

    3 In the Name text box, type in a unique name to identify the check box.

    4 In the Value text box, type in a descriptive name for the check box. When a viewer clicks the Submit button in the form, this value will be passed to the CGI script to indicate the selection of this option.

    5 In the Focus section, select the Selected check box to have your check box appear selected by default. For more information on setting tabbing chains and defining access keys, see Setting up tabbing chains and Defining access keys.


    Creating Forms > Adding form elements > Setting up buttons and check boxes